package top.callname.filter;

import org.weixin4j.model.message.OutputMessage;
import org.weixin4j.model.message.normal.ImageInputMessage;
import org.weixin4j.model.message.normal.LinkInputMessage;
import org.weixin4j.model.message.normal.LocationInputMessage;
import org.weixin4j.model.message.normal.ShortVideoInputMessage;
import org.weixin4j.model.message.normal.TextInputMessage;
import org.weixin4j.model.message.normal.VideoInputMessage;
import org.weixin4j.model.message.normal.VoiceInputMessage;
import org.weixin4j.model.message.output.TextOutputMessage;
import org.weixin4j.spi.INormalMessageHandler;

public class WchatNormalMessageHandler implements INormalMessageHandler {

	
	/**
	 * 回复普通消息
	 */
	@Override
	public OutputMessage textTypeMsg(TextInputMessage msg) {
		TextOutputMessage out = new TextOutputMessage();
		out.setContent(msg.getContent());
		return out;
	}

	@Override
	public OutputMessage imageTypeMsg(ImageInputMessage msg) {
		return null;
	}

	@Override
	public OutputMessage linkTypeMsg(LinkInputMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage locationTypeMsg(LocationInputMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage shortvideoTypeMsg(ShortVideoInputMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage videoTypeMsg(VideoInputMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage voiceTypeMsg(VoiceInputMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

}
